/*
 * @Author: yuanxiaohu
 * @Date: 2025-06-13 18:18:42
 * @LastEditors: yuanxiaohu
 * @LastEditTime: 2025-06-16 23:25:16
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \wine-trend-hui-18\cloudfunctions\getOrder\index.js
 */
const getOrderList = require("./getOrderList/index");
const addOrder = require("./addOrder/index");
const updateOrder = require("./updateOrder/index");
// 云函数入口函数
exports.main = async (event, context) => {
    switch (event.type) {
        case "getOrderList":
            return await getOrderList.main(event, context);
        case "addOrder":
            return await addOrder.main(event, context);
        case "updateOrder":
            return await updateOrder.main(event, context);
    }
};